package service;

import java.util.List;
import model.Country;
import model.Page;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 16:04
 * @description:
 */
public interface CountryService {
    List<Country> findAllCountry();

    int deleteByCode(String cname);

    Country findByName(String cname);

    List<Country> searchCountryByName(String name);

    int addCountry(Country country);

    int updataCountry(Country country);

    List<Country> findAllByPage(int page, int pageSize);
}
